#include "precompile.h"

#include "DCommandAddin.h"

DCommandAddin::DCommandAddin()
{
}

DCommandAddin::~DCommandAddin()
{
}

bool DCommandAddin::Load()
{
	IController* pIFController = GetApplication()->GetController();
	pIFController->AddCommand(Commands::NewFile,CLSID_NewDocumentCommand);
	pIFController->AddCommand(Commands::CreateSplineItem,CLSID_CreateSplineItemCommand);
	pIFController->AddCommand(Commands::CreateImageItem,CLSID_CreateImageItemCommand);
	pIFController->AddCommand(Commands::CreateTextItem,CLSID_CreateTextItemCommand);
	return true;
}

void DCommandAddin::Unload()
{
}